import { request } from '../index'
// 分类
export const getThemeList = (data) => {
    return request({
        url: '/video/appTheme/list',
        data
    })
}
// 分类下列表
export const getRecommendVideos = (data) => {
    return request({
        url: '/video/v2/appVideo/recommendVideos',
        data
    })
}

// 追剧
export const chaseVideo = (data) => {
    return request({
        url: '/user/appChaseVideo/add',
        data
    })
}
// 取消追剧
export const cancelChaseVideo = (data) => {
    return request({
        url: '/user/appChaseVideo/cancel',
        data
    })
}

// 剧主页信息
export const videoDetail =(data)=>{
    return request({
        url: '/video/appVideo/detail',
        data
    })
}

// 搜索
export const searchVideo = (data)=>{
    return request({
        url:'/video/appVideo/videoList',
        data
    })
}